require.config({
    baseUrl:"./js/lib",
    paths:{
        "jquery":["jquery-1.11.1.min"],
        "jquery.validate":["jquery.validate"],
        "additional-methods":["additional-methods"],
        "register":["../register"],
        "idcode":["jquery.idcode"]
    },
    shim:{
        idcode:{
            deps:["jquery"]
        }
    }
});


//使用模块

require(["register","jquery"],function(register,$){
    register.reg();


})




